package com.yc.cloud.oss.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;


@Data
public class OssGetChunkParam {
    @ApiModelProperty(value = "文件标识", required = true)
    @NotEmpty(message = "文件标识不能为空")
    private String fileId;

    @ApiModelProperty(value = "文件后缀", required = true)
    @NotEmpty(message = "文件后缀不能为空")
    private String suffix;

    @ApiModelProperty(value = "存储桶", hidden = true)
    private String bucket;

}
